package com.ken.teacher.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class homeworkDto {
    //作业id
    private String id;
    //所属课程的id
    private String course_id;
    //作业描述
    private String description;
    //老师的id
    private String teacher_id;
    //作业名
    private String homework_name;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime update_time;
//    //发布时间
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private LocalDateTime assignment_date;
//    //过期时间
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private LocalDateTime due_date;
}
